package com.pet.server.ext.action.user;

import com.pet.server.ext.ActionBase;
import com.pet.server.ext.ApiError;
import com.pet.server.ext.Result;
import com.pet.server.ext.alimama.AliMama;
import com.pet.server.ext.util.Parameters;
import com.taobao.api.ApiException;

public class ALiMama extends ActionBase{
	public String queryString;
	public ALiMama(){
		 needCheckAuth =false;
	}
	
	@Override
	public void initParameters(Parameters params) throws ApiError {	
		parseToParameter(params);
		
	}
	
	@Override
	public Result invokeService() throws ApiError {
		//AliMama alm = new AliMama();
		try {
			AliMama.commodityList("http://gw.api.taobao.com/router/rest", "23333058", "2ff87185050ca9edc0702adf46380b1c");
		} catch (ApiException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		Result result = new Result();
       // result.put(key, value);
	    return result;
	}


}
